<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/3/29 0029
 * Time: 16:03
 */

namespace app\home\controller;
use think\Db;

class Contactus extends Base
{
        public function index(){
            //轮播图
            $data_banner = Db::name('banner')->where('is_del=0 and is_show=1 and sign="pc" and class_id=39')->order('sort desc,id desc')->field('banner_img,out_link')->select();
            $this->assign('data_banner',$data_banner);

            $data_Contactus= Db::name('connect')->where('is_show=1 and sign="pc"')->limit(1)->find();
            $this->assign('data_Contactus',$data_Contactus);
            $this->assign('data_seo',getColumnseo(8));
            return $this->fetch();
        }



}